package com.xydpeng.rpc.springboot.model;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author xydpeng
 * @version v1.0
 * @date: 2023/4/8
 * @description:
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "rpc")
public class RpcConfigProperties {

    private String serverIp;

    private int serverPort;

    private String registryAddr;

    private String registryType;
}
